#include "GShader.h"

VertexProp* Payload::GetOutVertexProp(int nVertexIndex)
{
	int nTriangleVertexIndex = triangle_index[nVertexIndex];
	return &out_vertexProp[nTriangleVertexIndex];
}

VertexProp* Payload::GetInVertexProp(int nVertexIndex)
{
	int nTriangleVertexIndex = triangle_index[nVertexIndex];
	return &in_vertexProp[nVertexIndex];
}